#ifndef BILLBOARD_H
#define BILLBOARD_H

#include "objet3D.h"
#include "plan.h"
#include "mousePassiveMotionListener.h"

class Billboard : public Objet3D, public MousePassiveMotionListener
{
  public:
  Billboard(float largeur=1.0, float hauteur=1.0, const char *image=NULL);
  ~Billboard();

  void onMousePassiveMotionEvent(int x, int y);
  void setBouger(bool b);

  protected:
  void _draw();
  Plan *_plan1, *_plan2;
  int _xold, _yold;
  float _deltax, _deltay;
  bool _premier;
  bool _bouger;
};
#endif

